﻿using System.Runtime.CompilerServices;
using ePipe;

namespace Letter.Net.Sockets;

sealed class TcpSnderPool : ASocketSnderPool<TcpSnder>
{
    public TcpSnderPool(PipeScheduler scheduler) : base(scheduler)
    {
    }

    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    protected override TcpSnder Create(PipeScheduler scheduler)
    {
        return new TcpSnder(scheduler);
    }
}